#include <stdio.h>

int main( )
{
    __int64 t, sum, n, max, w;
    scanf("%I64d", &t);
    while ( t-- )
    {
        max = sum = 0;
        scanf("%I64d", &n);
        while ( n-- )
        {
            scanf("%I64d", &w);
            sum += w;
            if ( max < w )
                max = w;
        }
        if ( sum < max * 2 - 1 )
            printf("No\n");
        else
            printf("Yes\n");
    }
    return 0;
}
